Skip to content

[6.x] [config] logging.useUTC -> logging.timezone (#21561)#22697

Merged
jbudz merged 1 commit intoelastic:6.xfrom
jbudz:config/timezone-6.x
Sep 5, 2018
Merged

[6.x] [config] logging.useUTC -> logging.timezone (#21561)#22697
jbudz merged 1 commit intoelastic:6.xfrom
jbudz:config/timezone-6.x

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Sep 4, 2018

This deprecates logging.useUTC and replaces it with logging.timezone. The default timezone is still UTC. To use a local timezone set logging.timezone: false We'll have a followup PR targeting 7.0 to remove the deprecation notice and default to a local timezone (and remove the optional 'false' schema).

Explicit timezones help in situations such as docker containers where the system timezone isn't necessarily setup to be your timezone.

Closes #11038.

* [config] logging.useUTC -> logging.timezone

* docs

* [env] exit if starting as root

* fix import path

* add link and timezone example

* Revert "[env] exit if starting as root"

This reverts commit f6e9090833a5180fe360a9ff54543c37c0ca3a58.
@jbudz jbudz added the backport This PR is a backport of another PR label Sep 4, 2018
@jbudz jbudz self-assigned this Sep 4, 2018
@tylersmalley
Copy link
Copy Markdown
Member

Not sure what happened to the description - might want to give it an update.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@jbudz jbudz merged commit b8ad4ce into elastic:6.x Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants